package com.ltc.wxpay.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ltc.wxpay.pojo.OpenIdBean;
import com.ltc.wxpay.service.impl.WxLoginService;

@RequestMapping("user")
@Controller
public class UserController {
	private Logger logger = Logger.getLogger(WxLoginService.class);
	@RequestMapping("openid")
	public String openid(HttpServletRequest request){
		 HttpSession session=request.getSession();
		 String list = (String) session.getAttribute("list");
	     System.out.println(list);
		 return null;
	}
}
